Invalid row for AddNew (Error 40010)

There was a call to rdoResultset.AddNew when the cursor was positioned on an invalid row, or the program had previously called AddNew or Edit without calling Update or cancelling the operation.

To avoid this error, move the cursor to a valid row and make sure you have a valid result set, and the sequence of calls to rdoResultset are correct.